package com.yunxi.dealer.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.dealer.pojo.PartnerStorageVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 渠道商仓库地址 服务类
 * </p>
 *
 * @author
 * @since 2019-05-14
 */
public interface PartnerStorageDubboService {

   PartnerStorageVO getById(String id) throws InvocationTargetException, IllegalAccessException;

   void saveOrUpdate(PartnerStorageVO partnerStorageVO) throws InvocationTargetException, IllegalAccessException;

   void removeById(String id, String partnerCode, LoginInfo loginInfo);

   PageInfo<PartnerStorageVO> findPageByVO(PartnerStorageVO partnerStorageVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

   List listByVo(PartnerStorageVO v);

   PartnerStorageVO getByPartnerVO(String partnerCode);
}
